package net.dengzixu.java.homework.period4;

/**
 * @author Deng Zixu <admin@dengzixu.com>
 */
public class Period4Homework {
    public static void main(String[] args) {
        // 输入华氏度
        double inputFahrenheit = 78;

        double outputCelsius;

        outputCelsius = (5.0 / 9.0) * (inputFahrenheit - 32);

        System.out.println(outputCelsius);
    }
}